﻿@model SimpleScrum.Core.Entities.Team
@{
    ViewBag.Title = "Edit Team";
}
<div class="page-header position-relative">
    <h1>
         <a href="@Url.Action("Index", "Team")" class="btn btn-app btn-info btn-small radius-4">
            <i class="icon-cog bigger-230"></i>ALL
        </a>
        @ViewBag.Title<small><i class="icon-double-angle-right"></i>@ViewBag.Message</small>
    </h1>
</div><!--/.page-header-->
<div class="row-fluid">
    <div class="span12">
        <div class="widget-box form-horizontal">
            <div class="widget-header">
                <h4>Update Team Information Edit Form</h4>
            </div>
            <div class="widget-body">
                <div class="widget-main no-padding">
                    @using (Html.BeginForm()) {
                        @Html.AntiForgeryToken()
                        <div class="text-error">
                            @Html.ValidationSummary("Please enter valid Data!")
                        </div>
                        <fieldset >
                            <div class="control-group">
                                @Html.LabelFor(model => model.Name, new {@class="control-label", @for="form-field-1"})
                                <div class="controls">
                                    @Html.TextBoxFor(model => model.Name, new {@class="span10", @id="form-field-1", @placeholder="Team Name"})
                                    <span class="help-inline">*</span>
                                    <div class="text-warning">@Html.ValidationMessageFor(model => model.Name)</div>
                                </div>
                            </div>
                            <div class="control-group">
                                @Html.LabelFor(model => model.StatusId, new {@class="control-label", @for="form-field-2"})
                                <div class="controls">
                                    @Html.TextAreaFor(model => model.StatusId,new {@class="span10 limited", id="form-field-2", @rows="5", placeholder="Team Description"})
                                    <div class="text-warning">@Html.ValidationMessageFor(model => model.StatusId)</div>
                                </div>
                            </div>
                        </fieldset>
                        <div class="form-actions center">
                            <button class="btn btn-success" value="Save"><i class="icon-ok bigger-110"></i>Save</button>
                        </div>
                    }
                </div>
            </div>
        </div>
    </div>
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}